import java.io.PrintWriter;

public class StringNode extends Node {
	public String value;

	public StringNode(String value) {
		this.value = value;
	}

	public Node getChildren() {
		return null;
	}

	public String getValue() {
		System.out.print(value + " ");
		return this.value;
	}

	public void print(PrintWriter pw) {
		pw.println("Leaf name: " + value);
	}
}
